﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SMBL.Interface.Operation
{
    /// <summary>
    /// Interface Operation Error
    /// @Author: Push
    /// </summary>
    public interface IOpError
    {
        /// <summary>
        /// Set the Last Error's Id occurred in the operation
        /// @Author: Push
        /// </summary>
        /// <param name="ErrorId"></param>
        void SetLastErrorId(Int64 ErrorId);

        /// <summary>
        /// Get the Last Error's Message
        /// @Author: Push
        /// </summary>
        /// <returns></returns>
        String GetLastError();
    }
}
